<?php
http_response_code(404);
    $id = $_GET["id"];
    include "./mysql.php";
    $sql = "select * from t_index_data where id=${id}";
    $res = $mysqli->query($sql);
    $row = $res->fetch_assoc();
    print_r(json_encode($row));